import request from '@/utils/request'
import { config } from '@/utils/requestconfig'

export function getDivisionSchemes() {
  return request({
    baseURL: config.webapi,
    url: '/DivisionScheme/GetDivisionSchemes',
    method: 'get'
  })
}
export function editDivisionSchemes(data) {
  return request({
    baseURL: config.webapi,
    url: '/DivisionScheme/EditDivisionSchemes',
    method: 'post',
    data: data
  })
}
export function delDivisionScheme(id) {
  return request({
    baseURL: config.webapi,
    url: '/DivisionScheme/DelDivisionScheme',
    method: 'post',
    params: { id: id }
  })
}
